< href="https://www.w3schools.com/jsref/prop_html_innerhtml.asp">good refrence to input putput javascript inner html value by riley

example input output code

let myIno1 = document.get elementbyId('mynum01').value document.getelementbyId('mydiv01').innerhtml=myIn01+'squared='+ myIn01*myIn01

example working code



...